package at.studentinformation;

import android.app.Activity;
import android.os.Bundle;
import android.widget.LinearLayout;
import android.widget.TableLayout;
import android.widget.TableRow;
import android.widget.TextView;

public class PointActivity extends Activity {
	@Override
	public void onCreate(Bundle savedInstanceState)
	{
		super.onCreate(savedInstanceState);
		setContentView(R.layout.point_layout);
		
		LinearLayout point_layout = (LinearLayout)findViewById(R.id.point_layout);
		
		TableLayout table = new TableLayout(this);
		TableRow row = new TableRow(this);
		for(int i=0; i<4; i++)
		{			
			TextView txt = new TextView(this);
			txt.setText("i="+i);
			row.addView(txt);
		}
		table.addView(row);
		point_layout.addView(table);
	}
}
